const basicAttrIcons = [{
        attr: "老人",
        icon: "laoren-",
    },
    {
        attr: "儿童",
        icon: "ertong-",
    },
    {
        attr: "育龄妇女",
        icon: "yulingfunv-",
    },
    {
        attr: "党员",
        icon: "dangyuan-",
    },
    {
        attr: "少数民族",
        icon: "shaoshuminzu-",
    },
    {
        attr: "残疾人",
        icon: "canjiren-1",
    },
    {
        attr: "楼栋长",
        icon: "fuzeren",
    },
    {
        attr: "外籍人士",
        icon: "waijirenshi",
    },
]

const registerType = function (type) {
    let register
    switch (type) {
        case "all":
            register = {
                name: "人户同在",
                color: "#77DDFF"
            }
            break;
        case "family":
            register = {
                name: "户在人不在",
                color: "#FF8236"
            }
            break;
        case "house":
            register = {
                name: "人在户不在",
                color: "#a1afb3"
            }
            break;
        default:
            register = {
                name: "人户都不在",
                color: "#a1afb3"
            }
    }
    return register
}

export{
basicAttrIcons,
registerType
}